package com.driver.system.service;


import com.driver.system.db.pojo.DeptEntity;
import com.driver.system.util.PageUtils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface DeptService {
    ArrayList<HashMap> searchAllDept();

    PageUtils searchDeptByPage(Map param);

    HashMap searchById(int id);

    int insert(DeptEntity dept);

    int update(DeptEntity dept);

    int deleteDeptByIds(Integer[] ids);
}
